home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 3⁄16⁄90 / 0887-Re[2] TTEView back c-Mar90 < prev    next >
Encoding:
Text File  |  1990-03-16  |  972 b   |  26 lines  |  [TEXT/GEOL]

  1. Item    4137442                         14-March-90        08:52PST
  2.  
  3. From:   D6020                           Info Research, John MacVeigh,PRT
  4.  
  5. To:     D0416                           Futuresoft System Design,PRT
  6.  
  7. cc:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    RE RE TTEView back color
  10.  
  11. Ken,
  12.  
  13. Thanks for the answer. Are your text labels fully editable TTEViews? I naively
  14. tried overriding TMyTEView.Draw to: save the background color, change it, call
  15. INHERITED Draw, then restore the saved color. This works until you try to edit.
  16. The problem is that to support editing, TTEView calls the Toolbox TE routines
  17. here, there, and everywhere. When any of those routines do any drawing, they do
  18. it with the port's current background, which is usually white. I suppose I
  19. could do a similar override for _all_ methods that result in drawing, but the
  20. coloring is not a requirement, just an added nicety. Maybe later.
  21.  
  22. Blandly, I remain
  23. John MacVeigh
  24. IRC
  25.  
  26.